package com.office.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.office.common.annotation.Excel;
import com.office.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 意见反馈对象 sys_feed
 * 
 * @author yin
 * @date 2024-07-16
 */
public class SysFeed extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 反馈id */
    private Long feedId;

    /** 反馈部门 */
    @Excel(name = "反馈部门")
    private String feedDept;

    /** 反馈内容 */
    @Excel(name = "反馈内容")
    private String feedContent;

    /** 反馈图片 */
    @Excel(name = "反馈图片")
    private String feedImg;

    /** 提出者 */
    @Excel(name = "提出者")
    private String feedStaff;

    /** 反馈状态0未解决 1已解决 */
    @Excel(name = "反馈状态0未解决 1已解决")
    private Long feedStatus;

    /** 反馈时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "反馈时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date feedTime;

    public Long getFeedId()
    {
        return feedId;
    }

    public void setFeedId(Long feedId)
    {
        this.feedId = feedId;
    }

    public String getFeedDept()
    {
        return feedDept;
    }

    public void setFeedDept(String feedDept)
    {
        this.feedDept = feedDept;
    }

    public String getFeedContent()
    {
        return feedContent;
    }

    public void setFeedContent(String feedContent)
    {
        this.feedContent = feedContent;
    }

    public String getFeedImg()
    {
        return feedImg;
    }

    public void setFeedImg(String feedImg)
    {
        this.feedImg = feedImg;
    }

    public String getFeedStaff()
    {
        return feedStaff;
    }

    public void setFeedStaff(String feedStaff)
    {
        this.feedStaff = feedStaff;
    }

    public Long getFeedStatus()
    {
        return feedStatus;
    }

    public void setFeedStatus(Long feedStatus)
    {
        this.feedStatus = feedStatus;
    }

    public Date getFeedTime()
    {
        return feedTime;
    }

    public void setFeedTime(Date feedTime)
    {
        this.feedTime = feedTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("feedId", getFeedId())
            .append("feedDept", getFeedDept())
            .append("feedContent", getFeedContent())
            .append("feedImg", getFeedImg())
            .append("feedStaff", getFeedStaff())
            .append("feedStatus", getFeedStatus())
            .append("feedTime", getFeedTime())
            .toString();
    }
}
